package com.lxw.report.engine.dataModel;

import com.lxw.report.engine.enums.AlignTypeEnum;

/**
 * 单元格样式属性
 * @author lxw
 */
public class Style {
    /**
     * 宽度
     */
    private int width;

    /**
     * 高度
     */
    private int height;

    /**
     * 字体粗度
     */
    private int fontWight;

    /**
     * 字体颜色
     */
    private String fontColor;

    /**
     * 字体大小
     */
    private int fontSize;

    /**
     * 文本对齐方式
     */
    private AlignTypeEnum textAlign;

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getFontWight() {
        return fontWight;
    }

    public void setFontWight(int fontWight) {
        this.fontWight = fontWight;
    }

    public String getFontColor() {
        return fontColor;
    }

    public void setFontColor(String fontColor) {
        this.fontColor = fontColor;
    }

    public int getFontSize() {
        return fontSize;
    }

    public void setFontSize(int fontSize) {
        this.fontSize = fontSize;
    }

    public AlignTypeEnum getTextAlign() {
        return textAlign;
    }

    public void setTextAlign(AlignTypeEnum textAlign) {
        this.textAlign = textAlign;
    }
}
